package com.spring.campus_express_delivery.service;

import com.spring.campus_express_delivery.entity.PageBean;
import com.spring.campus_express_delivery.entity.SchoolAddress;

import java.util.HashMap;
import java.util.List;

public interface SchoolAddressService {
    //送达地址列表
    PageBean<SchoolAddress> selectServiceAddressByPage(int size, int page, String sort, String asc);
    //统计数目
    int selectCountByServiceAddress();

    void insertServiceAddress(SchoolAddress schoolAddress);

    SchoolAddress selectByServiceAddressId(int id);

    void updateSchoolAddress(SchoolAddress schoolAddress);

    void deleteSchoolAddressById(Integer id);
    SchoolAddress selectByServiceAddress(String serviceAddress);

}
